﻿using com.iot.core.annotation;
using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Xml.Linq;

namespace com.iot.core.data.entity
{
    [Schema(Name = "用户扩展信息表", Description = "")]     
    public class HtUserEx : BaseEntity
    {
         
        [Comment("密码错误日期")]
        [Schema(Name = "密码错误日期", Description = "")]
        public DateTime LgerrDt { get; set; }


        [Comment("密码错误次数")]
        [Schema(Name = "密码错误次数", Description = "")]
        public int LgerrTimes { get; set; }


        [Comment("上次修改密码日期")]
        [Schema(Name = "上次修改密码日期", Description = "")]
        public DateTime LstchangepwdDt { get; set; }


        [Comment("登录次数")]
        [Schema(Name = "登录次数", Description = "")]
        public int LgTimes { get; set; }


        [Comment("上次登录时间")]
        [Schema(Name = "上次登录时间", Description = "")]
        public int LglstDt { get; set; }


        [Comment("上次登录IP")]
        [Schema(Name = "上次登录IP", Description = "")]
        [MaxLength(50)]
        public string LglstIp { get; set; } = "";


        [Comment("上次登录平台")]
        [Schema(Name = "上次登录平台", Description = "")]
        public int LglstHtplatId { get; set; }
    }
}
